package edu.drexel.jrexel2d.networking.sync;

import java.util.ArrayList;
import java.util.List;

import edu.drexel.jrexel2d.input.GameAction;
import edu.drexel.jrexel2d.objects2D.Player;

public class PlayerHistory {
	private Player player;
	private long time;
	private List<GameAction> gameActions;

	public PlayerHistory(Player player, long time, List<GameAction> gameActions) {
		super();
		this.player = player;
		this.time = time;
		this.gameActions = new ArrayList<GameAction>(gameActions);
	}

	public PlayerHistory() {
		// TODO Auto-generated constructor stub
	}

	public List<GameAction> getGameActions() {
		return gameActions;
	}

	public void setGameActions(List<GameAction> gameActions) {
		this.gameActions = gameActions;
	}

	public Player getPlayer() {
		return player;
	}

	public void setPlayer(Player player) {
		this.player = player;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}
}
